package com.tonann.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tonann.common.annotation.Excel;
import com.tonann.common.core.domain.BaseEntity;

/**
 * 设备型号管理对象 app_device_model
 * 
 * @author tonann
 * @date 2023-07-31
 */
public class AppDeviceModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 型号Id */
    private Long modelId;

    /** 型号名称 */
    @Excel(name = "型号名称")
    private String modelName;

    /** 型号编号 */
    @Excel(name = "型号编号")
    private String modelCode;

    /** 所属设备类型 */
    @Excel(name = "所属设备类型")
    private String modelType;

    /** 型号图片 */
    @Excel(name = "型号图片")
    private String modelImgUrl;

    /** 型号二维码图片 */
    @Excel(name = "型号二维码图片")
    private String modelQRUrl;

    /** 型号简介 */
    @Excel(name = "型号简介")
    private String modelIntro;

    public void setModelId(Long modelId) 
    {
        this.modelId = modelId;
    }

    public Long getModelId() 
    {
        return modelId;
    }
    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }
    public void setModelCode(String modelCode) 
    {
        this.modelCode = modelCode;
    }

    public String getModelCode() 
    {
        return modelCode;
    }
    public void setModelType(String modelType) 
    {
        this.modelType = modelType;
    }

    public String getModelType() 
    {
        return modelType;
    }
    public void setModelImgUrl(String modelImgUrl) 
    {
        this.modelImgUrl = modelImgUrl;
    }

    public String getModelImgUrl() 
    {
        return modelImgUrl;
    }
    public void setModelQRUrl(String modelQRUrl)
    {
        this.modelQRUrl = modelQRUrl;
    }

    public String getModelQRUrl()
    {
        return modelQRUrl;
    }
    public void setModelIntro(String modelIntro) 
    {
        this.modelIntro = modelIntro;
    }

    public String getModelIntro() 
    {
        return modelIntro;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("modelId", getModelId())
            .append("modelName", getModelName())
            .append("modelCode", getModelCode())
            .append("modelType", getModelType())
            .append("modelImgUrl", getModelImgUrl())
            .append("modelIntro", getModelIntro())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
